<?php
/**

*/

// no direct access
defined( '_PAEXEC' ) or die( 'Restricted access' );

/**
*Application define
*/

//Global definitions
//APP path definitions
$parts = explode( DS, PAPATH_BASE );

//Defines
define( 'PAPATH_ROOT',			implode( DS, $parts ) );

define( 'PAPATH_SITE',			PAPATH_ROOT );
define( 'PAPATH_CONFIGURATION', PAPATH_ROOT );
define( 'PAPATH_LIBRARIES',	 	PAPATH_ROOT.DS.'includes' );
define( 'PAPATH_PLUGINS',		PAPATH_ROOT.DS.'plugins'   );
define( 'PAPATH_INSTALLATION',	PAPATH_ROOT.DS.'installation' );
define( 'PAPATH_THEMES'	   ,	PAPATH_BASE.DS.'templates' );
define( 'PAPATH_CACHE',			PAPATH_BASE.DS.'cache');
define( 'PAPATH_MODULES',		PAPATH_BASE.DS.'modules');
define( 'PAPATH_ADMINMODULE',	PAPATH_BASE.DS.'admin');
define( 'PAPATH_CONFIG',		PAPATH_BASE.DS.'config');